<script setup>
	import {
		onLaunch,
		onShow,
		onError
	} from '@dcloudio/uni-app';
	import {
		ShoproInit
	} from './sheep';

	onLaunch(() => {
		// 加载Shopro底层依赖
		ShoproInit();
	});

	onError((err) => {
		console.log('AppOnError:', err);
	});

	onShow((options) => {
		// #ifdef APP-PLUS
		// 获取urlSchemes参数
		const args = plus.runtime.arguments;
		if (args) {}

		// 获取剪贴板
		uni.getClipboardData({
			success: (res) => {},
		});
		// #endif

		// #ifdef MP-WEIXIN
		// 确认收货回调结果
		// console.log(options, 'options');
		// #endif
	});
</script>

<style lang="scss">
	@import "uview-plus/index.scss";
	@import '@/sheep/scss/index.scss';
	@import "@/style/index.scss";

	.v-client {
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		opacity: 0;
	}


	.stepsNum {

		.cursor-pointer,
		.u-number-box__input {
			width: 48rpx !important;
			height: 46rpx !important;
			line-height: 46rpx !important;
			background: transparent !important;
		}

		.u-number-box__input {
			border: 1rpx solid #CCCCCC;
			margin: 0 !important;
			font-size: 24rpx !important;
			font-weight: 400 !important;
			color: rgba(0, 0, 0, 1) !important;
		}

		.cursor-pointer {
			border: 1rpx solid #CCCCCC;

			.u-icon {
				text {
					font-size: 18rpx !important;
				}
			}
		}

		.u-number-box__plus {
			width: 48rpx !important;
			border-radius: 0rpx 100rpx 100rpx 0 !important;
		}

		.u-number-box__minus {
			border-radius: 100rpx 0rpx 0rpx 100rpx !important;
		}

	}

	.u-tabbar__content {
		background-color: #F8F3E9 !important;

		.u-tabbar-item {
			.u-tabbar-item__text {
				margin-top: 4rpx !important;
				font-size: 24rpx !important;
				font-weight: 400;
			}
		}
	}

	.navBarGap {
		height: 104rpx;
	}

	.pad0-21 {
		padding: 0 21rpx * 2;
	}

	.u-safe-bottom {
		background-color: #F8F3E7;
	}
</style>